﻿@{
    Layout = "~/Views/Shared/_Layout.cshtml";
}
@section Head
{
}

<blockquote class="layui-elem-quote1 quoteBox layui-form">
    <div class="layui-form-item layui-card">
        <div class="layui-card-header tool-btn">
            <a class="layui-btn  layui-btn-normal" id="funBtnEdit"><i class="layui-icon layui-icon-edit"></i>修改</a>
        </div>
        <div class="layui-card-body">
            <label class="layui-form-label" style="width:120px;padding:9px 5px">公司/联系人名称：</label>
            <div class="layui-inline">
                <input type="text" class="layui-input" autocomplete="off" id="txtKeyWord" />
            </div>
            <div class="layui-inline">
                <a class="layui-btn" id="funBtnSearch"><i class="layui-icon layui-icon-list"></i>搜索</a>
            </div>
        </div>
    </div>
</blockquote>

<div class="layui-form">
    <table class="layui-hide" id="OrganizationList" lay-filter="OrganizationList"></table>
</div>

@section Foot
{
    <script type="text/html" id="gridTool">

        {{# if (d.iStatus===1){ }}
        <a class="layui-btn layui-btn-xs layui-btn-normal" lay-event="funBtnEdit"><i class="layui-icon layui-icon-edit"></i>修改</a>
        {{# } else { }}
        <a class="layui-btn layui-btn-xs layui-btn-disabled"><i class="layui-icon layui-icon-edit"></i>修改</a>
        {{# } }}

        {{# if (d.iStatus===0){ }}
        <a class="layui-btn  layui-btn-xs  layui-btn-lightgreen " lay-event="funBtnAuditPass"><i class="layui-icon layui-icon-auz"></i>通过</a>
        <a class="layui-btn  layui-btn-xs  layui-btn-danger" lay-event="funBtnAudiFailure"><i class="layui-icon layui-icon-auz"></i>不通过</a>
        {{# } else { }}
        <a class="layui-btn  layui-btn-xs  layui-btn-disabled" lay-event="funBtnAuditPass"><i class="layui-icon layui-icon-auz"></i>通过</a>
        <a class="layui-btn  layui-btn-xs  layui-btn-disabled" lay-event="funBtnAudiFailure"><i class="layui-icon layui-icon-auz"></i>不通过</a>
        {{# } }}
    </script>
    <script src="~/Areas/Authority/js/organization.list.js"></script>
}

